#define _CRT_SECURE_NO_WARNINGS 1
#include<stdio.h>
int main()
{
	int arr[25] = {1,1};
	int i = 0;
	for (i=2; i < 25; i++)
	{
		arr[i] = arr[i - 2] + arr[i - 1];
	}
	for (i = 0; i < 25; i++)
	{
		if (i % 5 == 0) printf("\n");
		printf("%d ", arr[i]);
	}
	return 0;
}